package com.liangtian.mdm.material.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import com.github.pagehelper.PageInfo;
import com.liangtian.mdm.material.model.WlLb;
import com.liangtian.mdm.material.model.WlbmLbJldw;

@SuppressWarnings("rawtypes")
public interface WlbmLbJldwService {

    public PageInfo getWlbmLbJldwByCond(Map<String, Object> map);

    public int insertWlbmLbJldw(WlbmLbJldw lbjldw);

    public int checkWlbmLbJldwExist(WlbmLbJldw lbjldw);

    public int deleteWlbmLbJldwByIds(Map<String, Object> map);

    /**
     * 根据条件查询物料类别计量单位
     *
     * @param map
     * @return
     * @author jiangyh
     * @date 2016-12-15
     */
    public List<WlbmLbJldw> getWlbmLbJldwByCond2(Map<String, Object> cond);

    /**
     * 删除计量单位时 查询此计量单位有无类别计量单位的数据
     *
     * @param map
     * @return
     
     * @date 2017-11-06
     */
    public int getDelCountByJldwId(Map<String, Object> map);

    //物料类别计量单位导出
    public void exportWlbmLbJldw(List<WlbmLbJldw> list, HttpServletResponse response);

    public PageInfo getWlbmLbJldwByCond3(Map<String, Object> map);

}
